//
//  CartModel.h
//  ZQLearn
//
//  Created by macfeel on 2019/5/15.
//  Copyright © 2019 macfeel. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface CartModel : NSObject


@property(nonatomic,copy)NSString *ID;
@property(nonatomic,copy)NSString *title;
@property(nonatomic,copy)NSString *photo;
//@property(nonatomic,assign)float commodityPrice;//价格
@property(nonatomic,assign)NSInteger commodityNumber;//商品数量
@property(nonatomic,assign)NSInteger product_num;//购物车单个商品的数量
@property(nonatomic,copy)NSString *product_quantity;//库存量
@property(nonatomic,copy)NSString *commodityStatus;//商品状态
@property(nonatomic,copy)NSString *integral;//等价于价钱的积分

///商品信息字典
@property(nonatomic,strong)NSDictionary *commodityInfo;

///商品所属的类的信息
@property(nonatomic,strong)NSDictionary *commodityClass;


@property(nonatomic,assign)BOOL isSelected;

//- (instancetype)initWithDictionary:(NSDictionary *)dictionary;
//+ (instancetype)modelWithDictionary:(NSDictionary *)dictionary;

@end

NS_ASSUME_NONNULL_END
